package cn.life.business.user.service;

import cn.life.business.user.entity.vo.LoginUserVo;
import cn.life.business.user.entity.vo.LoginVo;
import cn.life.business.user.entity.vo.UserInfoVo;
import cn.life.common.entity.model.CMessage;
import cn.life.business.user.entity.po.LoginUser;
import cn.life.business.user.entity.po.UserInfo;
import cn.life.business.user.entity.vo.RegisterUserVo;
import cn.life.common.entity.model.MyUserInfo;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @Description:    用户服务层
 * @Author 李佳明
 * @Date 2018/7/5 0005.6:56.
 */
public interface UserService {
    /**
     * @Description:    用户登陆
     *
     * @param request,response,loginVo
     * @return:
     *
     * @Author 李佳明
     * @Date 2018-09-29 下午 3:58
     */
    CMessage keyLogin(HttpServletRequest request, HttpServletResponse response, LoginVo loginVo) throws IOException;
    /**
     * @Description:    用户登陆(账号密码)
     *
     * @param request,response,loginVo
     * @return:
     *
     * @Author 李佳明
     * @Date 2018-10-15 上午 9:39
     */
    CMessage adminLogin(HttpServletRequest request, HttpServletResponse response, LoginVo loginVo);
}
